for each property in object c#

104

for each property in object c# -

foreach (PropertyInfo propertyInfo in obj.GetType().GetProperties())
{
   // do stuff here
}

Comments

Submit
0 Comments